QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17
RC_ICONS = icon.ico
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    customWrapperedFunc.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    LogExecuterIncludes/FunctionCall.h \
    LogExecuterIncludes/LogExecuter.h \
    LogExecuterIncludes/LogParser.h \
    LogExecuterIncludes/TypeConverter.h \
    LogExecuterIncludes/WarpperedFunc.h \
    LogExecuterIncludes/pugiconfig.hpp \
    SketchLayoutIncludes/SketchLayoutAlgo.h \
    SketchLayoutIncludes/importTLB.h \
    VFAdapterAPIs.h \
    customWrapperedFunc.h \
    mainwindow.h \
    pugiconfig.hpp \
    pugixml.hpp

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/StaticLibray/LogExecuterStaticLib/ -lLogExecuterStaticLib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/StaticLibray/LogExecuterStaticLib/ -lLogExecuterStaticLibd

INCLUDEPATH += $$PWD/StaticLibray/LogExecuterStaticLib
DEPENDPATH += $$PWD/StaticLibray/LogExecuterStaticLib

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/libLogExecuterStaticLib.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/libLogExecuterStaticLibd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/LogExecuterStaticLib.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/LogExecuterStaticLibd.lib

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/StaticLibray/SketchLayoutStaticLib/ -lSketchLayoutAlgoStaticLib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/StaticLibray/SketchLayoutStaticLib/ -lSketchLayoutAlgoStaticLibd

INCLUDEPATH += $$PWD/''
DEPENDPATH += $$PWD/''

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/SketchLayoutStaticLib/libSketchLayoutAlgoStaticLib.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/SketchLayoutStaticLib/libSketchLayoutAlgoStaticLibd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/SketchLayoutStaticLib/SketchLayoutAlgoStaticLib.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/SketchLayoutStaticLib/SketchLayoutAlgoStaticLibd.lib

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/StaticLibray/LogExecuterStaticLib/ -lLogExecuterStaticLib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/StaticLibray/LogExecuterStaticLib/ -lLogExecuterStaticLibd

INCLUDEPATH += $$PWD/StaticLibray/LogExecuterStaticLib
DEPENDPATH += $$PWD/StaticLibray/LogExecuterStaticLib

win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/libLogExecuterStaticLib.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/libLogExecuterStaticLibd.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/LogExecuterStaticLib.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/StaticLibray/LogExecuterStaticLib/LogExecuterStaticLibd.lib

RESOURCES += \
    res.qrc



INCLUDEPATH += $$PWD/StaticLibray
DEPENDPATH += $$PWD/StaticLibray


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/StaticLibray/ -lVFAdapter
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/StaticLibray/ -lVFAdapterd

INCLUDEPATH += $$PWD/StaticLibray
DEPENDPATH += $$PWD/StaticLibray
